package com.ykq.entity;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * menu
 * @author 
 */
@Data
public class Menu implements Serializable {
    private Integer id;

    @JsonProperty(value = "title") //json格式时的名称
    private String menuname;

    @JsonProperty(value = "href")  //
    private String url;

    private Integer pid;

    private String icon;

    private List<Menu> children;//当前菜单下的子菜单

    private static final long serialVersionUID = 1L;
}